<template>
  <div class="box">
    <van-nav-bar
      fixed
      placeholder
      safe-area-inset-top
      title="微信"
      @click-left="back"
    >
      <template #left>
        <van-icon name="arrow-left" size="16px" color="#333" />
      </template>
    </van-nav-bar>
    <div>
      <van-cell-group>
        <van-cell title="暖暖房屋微信公众号">
          <img src="../../assets/QRcode.jpg" alt="" />
        </van-cell>
      </van-cell-group>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    back() {
      this.$router.go(-1);
    },
  },
};
</script>

<style lang="less" scoped>
.box {
  height: 100%;
  background-color: #eee;
  .van-cell {
    img {
      width: 86px;
    }
  }
}
</style>